package cn.it.hbtt.service.Impl;

import cn.it.hbtt.dao.UserDao;
import cn.it.hbtt.dao.UserDaoImpl;
import cn.it.hbtt.entity.User;

public class UserServiceImpl implements UserService{
    @Override
    public User login(User user) {
        UserDao userDao = new UserDaoImpl();
        return userDao.login(user);
    }



 /*   public User login(User user) {
        UserDao userDao =  new UserDaoImpl();

        return  userDao.login(user);
    }*/

}
